package cn.zooz.service.o.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * Created by Bradish7Y on 2017/9/23.
 */
@Data
public class UserDto implements Serializable {

    private static final long serialVersionUID = 7297308606375138663L;

    /**
     * 用户名
     */
    @NotNull(message = "not null")
    @Size(min = 5, message = "min size 5")
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 手机号
     */
    private String mobile;

    private boolean remeberMe;
}
